import Layout from '@/layout'
//基础信息
const basicinformationManagementRouter = {
    path: '/basic-information-management',
    component: Layout,
    redirect: '/basic-information-management/area-management',
    name: 'BasicinformationManagement',
    meta: {
        title: '基础信息管理',
        icon: 'basic-information-management'
    },
    children: [
        {
            path: '/area-management',
            component: () => import('@/views/basic-information-management/area-management'),
            name: 'MeterReadingDeviceManagement',
            meta: {
                title: '抄表区域管理',
                icon: 'meter-reading-device-management'
            }
        },
        {
            path: '/energy-management',
            component: () => import('@/views/basic-information-management/energy-management'),
            name: 'EnergyManagement',
            meta: {
                title: '能源类型管理 ',
                icon: 'device-management'
            }
        },
        {
            path: '/device-management',
            component: () => import('@/views/basic-information-management/device-management'),
            name: 'DeviceManagement',
            meta: {
                title: '设备管理 ',
                icon: 'device-management'
            }
        },
        {
            path: '/data-item-management',
            component: () => import('@/views/basic-information-management/data-item-management'),
            name: 'DataItemManagement',
            meta: {
                title: '数据项管理',
                icon: 'data-item-management'
            }
        },
        {
            path: '/device-related-data-items',
            component: () => import('@/views/basic-information-management/device-related-data-items'),
            name: 'DeviceRelatedDataItems',
            meta: {
                title: '设备关联数据项',
                icon: 'device-related-data-items'
            }
        },
        {
            path: '/device-related-areas',
            component: () => import('@/views/basic-information-management/device-related-areas'),
            name: 'DeviceRelatedAreas',
            meta: {
                title: '设备关联区域',
                icon: 'device-related-areas'
            }
        },
        // {
        //     path: 'unit-type-management',
        //     component: () => import('@/views/basic-information-management/unit-type-management'),
        //     name: 'UnitTypeManagement',
        //     meta: {
        //         title: '单位类型管理',
        //         icon: 'unit-type-management'
        //     }
        // },
        {
            path: '/unit-management',
            component: () => import('@/views/basic-information-management/unit-management'),
            name: 'unitManagement',
            meta: {
                title: '单位管理',
                icon: 'unit-management'
            }
        }
    ]
}
export default basicinformationManagementRouter
